package com.zuser.project.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zuser.project.dao.DriverInfoDao;
import com.zuser.project.entity.DriverInfoEntity;
import com.zuser.project.service.DriverInfoService;
import com.zuser.project.util.CommonService;
import com.zuser.project.util.R;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service("driverInfoService")
public class DriverInfoServiceImpl extends ServiceImpl<DriverInfoDao, DriverInfoEntity> implements DriverInfoService {

    @Override
    public R queryPage(Map<String, Object> params) {
        CommonService<DriverInfoEntity, DriverInfoServiceImpl> commonService = new CommonService<>(this);
        return commonService.queryPage(params);
    }

}